<!doctype html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>Combat Log Analyzer</title>
    <link href="static/style.css" type="text/css" rel="stylesheet">
    <!--[if IE]><script language="javascript"
                        type="text/javascript"
                        src="static/flot/excanvas.min.js"></script><![endif]-->
    <script type="text/javascript"
            src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <script type="text/javascript" src="static/flot/jquery.flot.js"></script>
    <script type="text/javascript" src="static/jquery.form.js"></script>
    <script type="text/javascript" src="static/display_plots.js"></script>
  </head>
  <body>
    <noscript>You must enable Javascript to use this page.</noscript>
    <form id="upload_form" action="/parse_file"
          enctype="multipart/form-data" method="post"
          style="visibility: hidden">
      <fieldset>
        <legend>Upload a Gamelog file:</legend>
        <input type="file" name="logfile">
        <input type="submit" value="Graph it!">
        <div id="upload_status"></div>
      </fieldset>
    </form>
    <form id="graph_config">
      <fieldset>
        <legend>Configure the output</legend>
        <label for="show_legend">Show Legend</label>
        <input type="checkbox" id="show_legend" value="show"
               checked="checked">
      </fieldset>
    </form>
    <div class="graphblock">
      <h1>Your DPS</h1>
      <div id="attack"></div>
    </div>
    <div class="graphblock">
      <h1>Enemy DPS</h1>
      <div id="defense"></div>
    </div>
    <p>Written by Matt Rudary (aka Ruds Snikja).
      Powered by <a href="http://code.google.com/appengine">Google
        App Engine</a>, <a href="http://jquery.com/">jQuery</a>, and
      the <a href="http://code.google.com/p/flot/">Flot</a>
      and <a href="http://jquery.malsup.com/form/">Form</a> plugins for
      jQuery.</p>
    <p>Bug?
      <a href="http://www.scrapheap-challenge.com/privmsg.php?mode=post&amp;u=154">
        Send me a PM on Scrapheap Challenge</a>. Please include your
        browser and OS information and paste in the log file that
        didn't display properly.</p>
  </body>
</html>
